package game

import "time"

type BsGameInfo struct {
	Id          uint      `gorm:"primarykey" json:"id"`
	Title       string    `gorm:"column:title;comment:项目名称" json:"title" form:"title"`
	SafetyId    int       `gorm:"column:safety_id;comment:安全须知" json:"safetyId" form:"safetyId"`
	CreateTime  time.Time `json:"createTime" form:"createTime" gorm:"->"`
	UpdateTime  time.Time `json:"updateTime" form:"updateTime" gorm:"->"`
	SafetyTitle string    `gorm:"->" json:"safetyTitle"`
}

func (BsGameInfo) TableName() string {
	return "bs_game_info"
}
